package com.cavy.platform.server.domain.message;

import com.cavy.platform.server.domain.AgentOnline;

import javax.websocket.Session;

/**
 * @author 唐旭
 * @Date 2018/7/24
 */
public interface MessageHandler {
    boolean support(String type);

    void handler(Session session, String message, AgentOnline agent);
}
